<template>
  <div class="cart">
    <cart-nav-bar />
    <scroll class="content" :pullUpLoad="true" :probeType="3" ref="scroll">
      <cart-list />
    </scroll>
    <cart-bottom-bar />
  </div>
</template>

<script>
import Scroll from "components/common/scroll/Scroll";


import CartNavBar from "./childComps/CartNavBar";
import CartList from "./childComps/CartList";
import CartBottomBar from './childComps/CartBottomBar'

export default {
  name: "Cart",
  components: {
    Scroll,
    CartNavBar,
    CartList,
    CartBottomBar
  },
  activated(){
    this.$refs.scroll.refresh()
  }
};
</script>

<style scoped>
  .cart {
    height: 100vh;
  }

  .content{
    height: calc(100% - 44px - 49px - 40px);
    overflow: hidden;
  }

</style>